
<script>
import { h } from "vue";
export default {
  render() {
    return h("div", null, [
    h("h2", null, "Hello World"),
    this.$slots.default ? this.$slots.default({name:"pengfan"}) : h("span",null,"我是HelloWorld的插槽的默认值")
    ]);
  },
};
</script>

<style scoped>
</style>